/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package org.anism.holidays.sessionbeans;

import java.util.Collection;
import javax.ejb.Local;
import org.anism.holidays.entities.Employee;
import org.anism.holidays.entities.HolidayRequests;

/**
 *
 * @author user
 */
@Local
public interface HolidayValidationLocal {

    Employee authenticate(final String employeeId, final String password);

    Collection<HolidayRequests> getAllHolidayRequests(Employee employee);

    HolidayRequests getHolidayRequest(HolidayRequests holidayRequest);
    
    void validateRequest(HolidayRequests request);    
}
